home *** CD-ROM | disk | FTP | other *** search
/ The Works of John Ruskin / The Works of John Ruskin on CD-ROM.iso / install.dat < prev    next >
Text File  |  1996-06-13  |  8KB  |  214 lines

  1. @DefineProject
  2.     @Name ="The Works of John Ruskin"
  3.     @Version ="1.0"
  4.     
  5.     @Subdir ="\\ruskcd"
  6.     @OutDrive = C
  7. @EndProject
  8.  
  9. @DefineVars
  10.     @Integer @Red        = @RGB(255,0,0)    //DEFINE COLOUR RED
  11.     @Integer @Green      = @RGB(0,255,0)    //DEFINE COLOUR GREEN
  12.     @Integer @Blue       = @RGB(0,0,255)    //DEFINE COLOUR BLUE
  13.     @Integer @Black      = @RGB(0,0,0)      //DEFINE COLOUR BLACK
  14.     @Integer @Purple   = @RGB(255,0,255)    //DEFINE COLOUR PURPLE
  15.     @Integer @Cyan     = @RGB(0,255,255)    //DEFINE COLOUR CYAN
  16. @EndVars
  17.  
  18. @If(@Platform != 3)
  19.     @Display
  20.         @Name
  21.         must be installed through Windows.
  22.         The Program will now exit.
  23.  
  24.         @Pause
  25.         @Exit
  26.     @EndDisplay
  27. @EndIf
  28.  
  29. @BackGroundMode(4,@Red,@Black)
  30.  
  31. @Display
  32.  
  33.     This program will install the Works of John Ruskin
  34.     onto your machine. 
  35.  
  36.     Press any key to continue with the installation,
  37.     upon which you will be prompted to enter the
  38.     destination drive and directory. Press ENTER to
  39.     accept the defaults.
  40.     @Pause
  41. @EndDisplay
  42.  
  43. @BackGroundMode(3,@Blue,@Black)
  44.  
  45. @GetOutDrive
  46. @LocalWindow(9,27)
  47.     Please enter the name of the drive on which you
  48.     would like to install the
  49.     @Name.
  50.  
  51. @EndoutDrive
  52.  
  53. @BackGroundMode(3,@Red,@Black)
  54.  
  55. @GetSubdir @Subdir
  56. @LocalWindow(6,39)
  57.     Please enter the name of the directory
  58.     on which you you would like to install
  59.     the @Name.
  60. @EndSubdir
  61.  
  62. @BackGroundMode(3,@Blue,@Black)
  63.  
  64. @If (@Removable)
  65.     @Display
  66.         You can't install @Name onto a floppy drive!
  67.         @Pause
  68.         @Abort
  69.     @EndDisplay
  70. @EndIf
  71.  
  72.  
  73. @MkDir("@OutDrive:\\@Subdir\\HELP")
  74. @MkDir("@OutDrive:\\@Subdir\\PROFILES")
  75. @MkDir("@OutDrive:\\@Subdir\\PLUG_INS")
  76. @MkDir("@OutDrive:\\@Subdir\\TMP")
  77.  
  78.  
  79. @If (@Exists ("@WindowsDrive:\\@SubDir\\ACROREAD.EXE"))
  80.     @FileAttr ("@WindowsDrive:\\@SubDir\\ACROREAD.EXE","r-")
  81. @EndIf
  82.  
  83. @If (@Exists ("@WindowsDrive:\\@SubDir\\ACROCORE.DLL"))
  84.     @FileAttr ("@WindowsDrive:\\@SubDir\\ACROCORE.DLL","r-")
  85. @EndIf
  86.  
  87. @If (@Exists ("@WindowsDrive:\\@SubDir\\ACROPFS.DLL"))
  88.     @FileAttr ("@WindowsDrive:\\@SubDir\\ACROPFS.DLL","r-")
  89. @EndIf
  90.  
  91. @If (@Exists ("@WindowsDrive:\\@SubDir\\ACROGRAF.DLL"))
  92.     @FileAttr ("@WindowsDrive:\\@SubDir\\ACROGRAF.DLL","r-")
  93. @EndIf
  94.  
  95. @If (@Exists ("@WindowsDrive:\\@SubDir\\HELP\\HELP_R.PDF"))
  96.     @FileAttr ("@WindowsDrive:\\@SubDir\\HELP\\HELP_R.PDF","r-")
  97. @EndIf
  98.  
  99. @If (@Exists ("@WindowsDrive:\\@SubDir\\VIEWLIB.DLL"))
  100.     @FileAttr ("@WindowsDrive:\\@SubDir\\VIEWLIB.DLL","r-")
  101. @EndIf
  102.  
  103. @If (@Exists ("@WindowsDrive:\\@WindowsDir\\ACROREAD.INI"))
  104.     @FileAttr ("@WindowsDrive:\\@WindowsDir\\ACROREAD.INI","r-")
  105. @EndIf
  106.  
  107.  
  108. @DefineDisk
  109. @Label ="Disk 1"
  110.  
  111.     @F BIN\CHARMAP.CPL    @S 7522        @O CHARMAP.CPL
  112.     @F BIN\CTYPES.CPL    @S 6455        @O CTYPES.CPL
  113.     @F BIN\DEFAULTS.CPL    @S 5542        @O DEFAULTS.CPL
  114.     @F BIN\ERR_MSGS.CPL    @S 131203    @O ERR_MSGS.CPL
  115.     @F BIN\LATIN_1.CPL    @S 12261    @O LATIN1.CPL
  116.     @F BIN\STOPWORD.CPL    @S 1866        @O STOPWORD.CPL
  117.     @F BIN\TKNZTBLD.CPL    @S 27913    @O TKNZTBLD.CPL
  118.     @F BIN\BC450RTL.DLL    @S 220672    @O BC450RTL.DLL
  119.     @F BIN\CPL24.DLL    @S 1825296    @O CPL24.DLL
  120.     @F BIN\CPL24D.DLL    @S 2679824    @O CPL24D.DLL
  121.     @F BIN\MFCOLEUI.DLL    @S 146976    @O MFCOLEUI.DLL
  122.     @F BIN\MJCPLDLG.DLL    @S 480560    @O MJCPLDLG.DLL
  123.     @F BIN\RWTSD4.DLL    @S 7680        @O RWTSD4.DLL
  124.     @F BIN\RTFREAD.EXE    @S 422336    @O RTFREAD.EXE
  125.     @F BIN\RTFREAD.HLP    @S 403931    @O RTFREAD.HLP
  126.     @F BIN\ROMAN.TAB    @S 2041        @O ROMAN.TAB
  127.     @F BIN\ROMANINV.TAB    @S 2040        @O ROMANINV.TAB
  128.     @F BIN\RTFCTRLS.TAB    @S 23766    @O RTFCTRLS.TAB
  129.     @F BIN\CONTENT.TRE    @S 5468        @O CONTENT.TRE
  130.     @F BIN\INDEX.TRE    @S 22709    @O INDEX.TRE
  131.  
  132.     @F PROFILES\RUSKIN1.MJK    @S 36        @O @OutDrive:\\@Subdir\\PROFILES\RUSKIN1.MJK
  133.  
  134.     @F ACROREAD\ACROCORE.DLL  @S 740192    @O ACROCORE.DLL 
  135.     @F ACROREAD\ACROGRAF.DLL  @S 226374    @O ACROGRAF.DLL 
  136.     @F ACROREAD\ACROPFS.DLL   @S 299759    @O ACROPFS.DLL
  137.     @F ACROREAD\ACROREAD.EXE  @S 575872    @O ACROREAD.EXE
  138.     @F ACROREAD\ACROREAD.INI  @S 181    @O @WindowsDrive:@WindowsDir\\ACROREAD.INI
  139.     @F ACROREAD\ACROREAD.REG  @S 686    @O ACROREAD.REG
  140.     @F ACROREAD\VIEWLIB.DLL   @S 247776    @O VIEWLIB.DLL 
  141.  
  142.     @F ACROREAD\HELP\HELP_R.PDF      @S 106753    @O @OutDrive:\\@Subdir\\HELP\\HELP_R.PDF
  143.     @F ACROREAD\HELP\README_R.TXT      @S 33563    @O @OutDrive:\\@Subdir\\HELP\\README_R.TXT
  144.  
  145.     @F ACROREAD\FONTS\SY______.PFB @S 31586    @O @OutDrive:\\@Subdir\\FONTS\\SY______.PFB
  146.     @F ACROREAD\FONTS\ZD______.PFB @S 40858    @O @OutDrive:\\@Subdir\\FONTS\\ZD______.PFB
  147.     @F ACROREAD\FONTS\ZX______.PFB @S 74870    @O @OutDrive:\\@Subdir\\FONTS\\ZX______.PFB
  148.     @F ACROREAD\FONTS\ZY______.PFB @S 95283    @O @OutDrive:\\@Subdir\\FONTS\\ZY______.PFB
  149.     @F ACROREAD\FONTS\ZX______.MMM @S 7188    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\ZX______.MMM
  150.     @F ACROREAD\FONTS\ZY______.MMM @S 7188    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\ZY______.MMM
  151.     @F ACROREAD\FONTS\SY______.PFM @S 672    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\SY______.PFM
  152.     @F ACROREAD\FONTS\ZD______.PFM @S 684    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\ZD______.PFM
  153.     @F ACROREAD\FONTS\ZX______.PFM @S 683    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\ZX______.PFM
  154.     @F ACROREAD\FONTS\ZY______.PFM @S 684    @O @OutDrive:\\@Subdir\\FONTS\\PFM\\ZY______.PFM
  155.  
  156.     @F ACROREAD\PLUG_INS\WEBLINK.API @S 73712    @O @OutDrive:\\@Subdir\\PLUG_INS\\WEBLINK.API
  157.  
  158. @If (!@Exists ("@WindowsDrive:\\@WindowsDir\\SYSTEM\\COMPOBJ.DLL"))
  159.     @F SYS\COMPOBJ.DLL    @S 109056    @O @WindowsDrive:\\@WindowsDir\\SYSTEM\\COMPOBJ.DLL
  160. @EndIf
  161. @If (!@Exists ("@WindowsDrive:\\@WindowsDir\\SYSTEM\\OLE2.DLL"))
  162.     @F SYS\OLE2.DLL        @S 304640    @O @WindowsDrive:\\@WindowsDir\\SYSTEM\\OLE2.DLL
  163. @EndIf
  164. @If (!@Exists ("@WindowsDrive:\\@WindowsDir\\SYSTEM\\OLE2DISP.DLL"))
  165.     @F SYS\OLE2DISP.DLL    @S 164960    @O @WindowsDrive:\\@WindowsDir\\SYSTEM\\OLE2DISP.DLL
  166. @EndIf
  167. @If (!@Exists ("@WindowsDrive:\\@WindowsDir\\SYSTEM\\STORAGE.DLL"))
  168.     @F SYS\STORAGE.DLL    @S 157696    @O @WindowsDrive:\\@WindowsDir\\SYSTEM\\STORAGE.DLL
  169. @EndIf
  170.  
  171. @EndDisk
  172.  
  173. @FileAttr ("@OutDrive:\\@SubDir\\PROFILES\\*.mjk","r-")
  174. @FileAttr ("@OutDrive:\\@SubDir\\*.*","r-")
  175.  
  176. @SetINI("CONTROLS","root","@Outdrive:@SubDir\\","MJCPLDLG.INI")
  177. @SetINI("CONTROLS","cntrltab","rtfctrls.tab","MJCPLDLG.INI")
  178. @SetINI("CONTROLS","contents","content.tre","MJCPLDLG.INI")
  179. @SetINI("CONTROLS","index","index.tre","MJCPLDLG.INI")
  180. @SetINI("CONTROLS","profiles","@Outdrive:@SubDir\\profiles\\","MJCPLDLG.INI")
  181. @SetINI("CONTROLS","libdir","@Outdrive:@SubDir\\","MJCPLDLG.INI")
  182. @SetINI("CONTROLS","dblist","@Outdrive:@SubDir\\dblist.cpl","MJCPLDLG.INI")
  183. @SetINI("CONTROLS","images","@CDRomFirst:\\images\\","MJCPLDLG.INI")
  184. @SetINI("CONTROLS","sizetoscreen","1","MJCPLDLG.INI")
  185. @SetINI("CONTROLS","tmpdir","@Outdrive:@SubDir\\tmp","MJCPLDLG.INI")
  186. @SetINI("CONTROLS","romantab","roman.tab","MJCPLDLG.INI")
  187. @SetINI("CONTROLS","promaninv","romaninv.tab","MJCPLDLG.INI")
  188. @SetINI("CONTROLS","opendocs","5","MJCPLDLG.INI")
  189. @SetINI("CONTROLS","defop","AND","MJCPLDLG.INI")
  190. @SetINI("CONTROLS","stem","NO","MJCPLDLG.INI")
  191. @SetINI("CONTROLS","keepsize","NO","MJCPLDLG.INI")
  192. @SetINI("CONTROLS","keeppos","NO","MJCPLDLG.INI")
  193. @SetINI("CONTROLS","ranking","OFF","MJCPLDLG.INI")
  194.  
  195.  
  196.  
  197. @Write ("@WindowsDrive:\\@SubDir\\DBLIST.CPL", "wt", "RUSKIN1 @CDRomFirst:\\DATABASE\\RUSKIN\n")
  198.  
  199. @Finish
  200. @SetINI("FONTS","Symbol","@Outdrive:@SubDir\\FONTS\\PFM\\SY______.PFM,@Outdrive:@SubDir\\FONTS\\SY______.PFB","ACROREAD.INI")
  201. @SetINI("FONTS","ZapfDingbats","@Outdrive:@SubDir\\FONTS\\PFM\\ZD______.PFM,@Outdrive:@SubDir\\FONTS\\ZD______.PFB","ACROREAD.INI")
  202.  
  203. @ProgramManager("[CreateGroup(The Works of John Ruskin)][AddItem(@Outdrive:\\@Subdir\\rtfread.exe,The Works of John Ruskin)][ShowGroup(The Works of John Ruskin,1)]")
  204.  
  205. @Cls
  206.     @Name Version @Version
  207.     have been installed successfully.
  208.     
  209.     You must restart Windows before running this application.
  210.         @ChDrive (@OutDrive)
  211.         @ChDir ("@SubDir")
  212. @Pause
  213. @EndFinish
  214.